package cn.iocoder.yudao.module.reading.controller.app.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户设置 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 用户设置 Response VO")
@Data
public class UserSettingsRespVO {

    @Schema(description = "设置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long userId;

    @Schema(description = "默认阅读模式", requiredMode = Schema.RequiredMode.REQUIRED, example = "image")
    private String readingMode;

    @Schema(description = "自动翻页开关", requiredMode = Schema.RequiredMode.REQUIRED, example = "false")
    private Boolean autoTurnPage;

    @Schema(description = "翻页延迟（秒）", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Integer turnPageDelay;

    @Schema(description = "音频自动播放", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean autoPlayAudio;

    @Schema(description = "音频播放完自动翻页", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean autoTurnAfterAudio;

    @Schema(description = "自动阅读下一本", requiredMode = Schema.RequiredMode.REQUIRED, example = "false")
    private Boolean autoReadNext;

}
